package lab02.text02;

/**
 * Created by dell on 2017/10/12.
 */
public class Circle {
    //属性：半径
    double radius;
    //行为：圆的面积与周长
    //计算面积
    double area(){
        return 3.14*radius*radius;
    }
    //计算周长
     double perimeter(){
        return 2*radius*3.14;
     }

    public static void main(String[] args) {

    }
}
